package com.jzlin.funhub.admin.config.properties;

import com.jzlin.funhub.admin.common.enums.FileStorageStrategyEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 文件存储相关参数.
 *
 * @author linjz
 * @since 2025/8/10
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "file.storage")
public class FileStorageProperties {
    /**
     * 策略
     * @see FileStorageStrategyEnum
     */
    private String strategy;

    /**
     * 根路径
     */
    private String rootPath;
}
